﻿<script type="text/javascript" src="~/Scripts/page/WFFlowPartial.js"></script>

<input type="hidden" name="hi_FlowConfigID" id="hi_FlowConfigID" />
<input class="easyui-validatebox" type="text" id="txt_FlowConfigName" name="txt_FlowConfigName" />
<a href="#" class="easyui-linkbutton" onclick="LoadFlow()" plain="true">选择</a>


<div id="flowdlg" class="easyui-dialog" style="width: 480px; height: 380px; padding: 10px 10px"
    closed="true" buttons="#flowdlg-buttons" modal="true" resizable="true">

    <table id="flowlist" class="easyui-datagrid" toolbar="#flowtoolbar">
    </table>
    <div id="flowtoolbar">
        <table>
            <tr>
                <td>
                    <input class="easyui-validatebox" type="text" id="txt_ConfigName" name="txt_ConfigName"
                        value="流程名称" onfocus="if(value==defaultValue){value='';this.style.color='#000'}" onblur="if(!value){value=defaultValue;this.style.color='#999'}" style="color: #999999" />
                </td>
                <td>
                    <input id="cmb_FlowKind" class="easyui-combobox" name="cmb_FlowKind" 
                            data-options="valueField:'id',textField:'text',
                            url:'/Dictionary/GetDictionaryListByCode2?kind=WorkFlowKind&name=@Server.UrlEncode("类型")'" />
                </td>
                <td>
                    <a href="#" class="easyui-linkbutton" iconcls="icon-search" onclick="SearchFlow()">查询</a>
                </td>
            </tr>
        </table>
    </div>

    <div id="flowdlg-buttons">
        <a href="#" class="easyui-linkbutton" iconcls="icon-ok" onclick="SelectFlow()">确定</a>
        <a href="#" class="easyui-linkbutton" iconcls="icon-cancel" onclick="javascript:$('#flowdlg').dialog('close')">取消</a>
    </div>
</div>
